Skip to main content

childdailyaudit

Table: childdailyaudit

The childdailyaudit table stores audit logs for child-related records, tracking changes and activities in the system.
It is used for monitoring, troubleshooting, and maintaining a history of operations performed on child data.


Columns

Column NameData TypeConstraintsDescription
Idint(11)NOT NULL, AUTO_INCREMENTUnique identifier for each audit record
ChildIdint(11)NULLReferences the child associated with the audit entry
VaccinationRecordNumint(11)NULLNumber of the vaccination record being audited
TableNamevarchar(50)NULLName of the table where the change occurred
LogTypesmallint(6)NULLType of log entry (e.g., insert, update, delete)
LogDetailvarchar(3500)NULLDetailed description of the operation or change
LogTimedatetimeNULLTimestamp when the audit entry was recorded

Indexes

  1. PRIMARY - Primary key on Id
  2. TableName - Index on TableName
  3. LogTime - Index on LogTime

Foreign Key Relations

  • None

Usage Notes

  • Tracks all changes or actions related to child records for auditing purposes.
  • Data warehouse tables are built using this table.
  • LogDetail provides detailed information about the operation performed.
  • Helps in debugging, compliance, and monitoring system activity.
  • Indexes on TableName and LogTime improve query performance for audit reviews.